dvb_fe_snprintf_stat

@brief Ancillary function to sprintf on ENG format @ingroup frontend

@param parms struct dvb_v5_fe_parms pointer to the opened device @param cmd DVBv5 or libdvbv5 property @param display_name String with the name of the property to be shown @param layer DTV Layer @param buf buffer to store the value @param len buffer length @param show_layer_name a value different than zero shows the layer name, if the layer is bigger than zero.

This function calls internally dvb_fe_retrieve_stats_layer(). It allows to print a DVBv5 statistics value into a string. An extra property is available (DTV_QUALITY) with prints either one of the values: Poor, Ok or Good, depending on the overall measures.

@return: It returns the length of the printed data. A negative value indicates an error.

extern (C)
int
dvb_fe_snprintf_stat
(,
uint cmd
,,
int layer
,
char** buf
,
int* len
,)

Meta